# -- coding: utf-8 -- 
# Name: app

from flask import Flask,Response
from blue_admin import bp
app = Flask(__name__)
app.register_blueprint(bp)
app.config['SERVER_NAME'] = '123.com:5000'
@app.route('/')
def set_cookie():
    req = Response("set your cookies!")
    req.set_cookie("username",'zhangsan',domain='.123.com')
    return req

if __name__ == '__main__':
    app.run(debug=True)